package model;

import java.util.ArrayList;

public class Category extends AbstractModel{
	private String name;
	private ArrayList<Permission> PermissionArry=null;

	public Category(String name){
		this.name =new String(name);
	}
	
	public void addPermissionArry(Permission Permission) {
		this.PermissionArry.add(Permission);
	}
	
	public ArrayList<Permission> getPermissionArry() {
		return PermissionArry;
	}


	public void setPermissionArry(ArrayList<Permission> permissionArry) {
		PermissionArry = permissionArry;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}
	
}
